/*
 * Copyright (C) 2010-2016 Softtek Information Systems (Wuxi) Co.Ltd.
 * Date:2016-03-31
 */

package com.jarvis.pzz.seervers;

import com.jarvis.pzz.common.FileResponseData;
import com.jarvis.pzz.common.ResponseData;
import com.jarvis.pzz.models.FeedBackModel;
import com.jarvis.pzz.models.FileModel;
import com.jarvis.pzz.models.FindShopModel;
import com.jarvis.pzz.models.InitFindShopModel;
import com.jarvis.pzz.models.LoginModel;
import com.jarvis.pzz.models.MainIndexModel;
import com.jarvis.pzz.models.MyCollectModel;
import com.jarvis.pzz.models.MyPublishShopsListModel;
import com.jarvis.pzz.models.RequirementInfoModel;
import com.jarvis.pzz.models.ShopDetailsModel;
import com.jarvis.pzz.models.ShopsListByFilterModel;
import com.jarvis.pzz.models.ShopsSearchModel;

import java.util.List;

import okhttp3.MultipartBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * Created by jarvis.liu on 9/13/2016.
 */
public interface FileRequestService {
    /**
     * 上传单图接口
     ***/
    @POST("files/upload")
    @Multipart
    Call<FileResponseData<List<FileModel>>> uploadImage(
            @Part List<MultipartBody.Part> partList);
}
